package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsGoodsCategoryBrandDAO;
import top.zywork.dos.GoodsGoodsCategoryBrandDO;
import top.zywork.dto.GoodsGoodsCategoryBrandDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsGoodsCategoryBrandService;

import javax.annotation.PostConstruct;

/**
 * GoodsGoodsCategoryBrandServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-08-22<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "goodsGoodsCategoryBrandService")
public class GoodsGoodsCategoryBrandServiceImpl extends AbstractBaseService implements GoodsGoodsCategoryBrandService {

    private GoodsGoodsCategoryBrandDAO goodsGoodsCategoryBrandDAO;

    @Autowired
    public void setGoodsGoodsCategoryBrandDAO(GoodsGoodsCategoryBrandDAO goodsGoodsCategoryBrandDAO) {
        super.setBaseDAO(goodsGoodsCategoryBrandDAO);
        this.goodsGoodsCategoryBrandDAO = goodsGoodsCategoryBrandDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsGoodsCategoryBrandDO.class, GoodsGoodsCategoryBrandDTO.class);
    }
}
